<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
<body>
<link href="/static/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="/static/css/pagination.css" rel="stylesheet" type="text/css">
<script src="/static/jquery/jquery-2.1.1.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/script/docs.min.js"></script>
<script type="text/javascript" src="/static/script/jquery.pagination.js"></script>
<script type="text/javascript" src="/static/layer/layer.js"></script>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <ol class="breadcrumb">
                <li><a href="/admin/to/index/page.html">首页</a></li>
                <li><a href="/to/shop/page.html">商品列表</a></li>
                <li class="active">新增</li>
            </ol>
            <div class="panel panel-default">
                <div class="panel-heading">表单数据<div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-question-sign"></i></div></div>
                <div class="panel-body">
                    <form role="form" action="/admin/save" method="post">
                        <div class="form-group">
                            <label for="sort">分类</label>
                            <input
                                    name="sort"
                                    type="text"
                                    class="form-control"
                                    id="sort"
                                    placeholder="请输入商品类型">
                        </div>
                            <div class="form-group">
                                选择文件:<input type="file"id="file1">
                                <input type="button" id="upload" value="点击上传">
                                <div id="showing">


                                </div>
                            </div>
                        <div class="form-group">
                            <label for="name">商品</label>
                            <input name="name" type="text" class="form-control" id="name" placeholder="请输入商品名称">
                        </div>
                        <div class="form-group">
                            <label for="email">邮箱地址</label>
                            <input
                                    name="email"
                                    type="email"
                                   class="form-control"
                                   id="email"
                                   placeholder="请输入邮箱地址">
                            <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                        </div>
                        <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-plus"></i> 新增</button>
                        <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">



</script>
